package com.zr.planClass.service;

import com.zr.planClass.model.*;
import com.zr.util.ResultVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;

/**
 * Created by 非常狂躁的猪 on 2019/12/20.
 */

public interface PlanClassService {
    ResultVo add(@Valid PlanClassAddVo planClassAddVo);

    ResultVo update(@Valid PlanClassUpdateVo planClassUpdateVo);

    ResultVo queryOnePlan(Integer id);

    ResultVo queryAllPlan(PlanClassSelectVo planClassSelectVo);

    ResultVo updateStatusById(@Valid PlanClassUpdateStatus planClassUpdateStatus);

    ResultVo InquiryIntroduction(MultipartFile file)throws Exception;


    ResultVo export(HttpServletResponse response, String code, String name, Integer status)throws Exception;
}
